#include<stdio.h>
#include<unistd.h>
#include<string.h>
#include<malloc.h>
#include<stdlib.h>

int main(int argc, char *argv[], char *env[])
{
  printf("code addr %p\n",main);
  char *str = "hello yumoz";
  printf("read only addr %p\n", str);

  int *p = malloc(10);
  printf("headp addr %p\n",p);

  printf("stack addr %p\n",&str);
  printf("stack assr %p\n",&p);

  int i = 0;
  while(env[i])
  {
    printf("env addr %p\n",env[i]);
  }
  return 0;
}
